const express = require("express");

const app = express();

app.listen(5000,()=>{
    console.log("5000端口已经打开");
})
app.get("/login/:base/:age",(req,res)=>{
    
    let {base,age}  = req.params;
    console.log(base,age);
    res.send("数据传送成功：" + JSON.stringify(req.params));
})